package com.instpower.things.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @ClassName DeviceCmd
 * @Author: hellmash@gmail.com
 * @Date: 2020/3/24
 * @Version: 1.0.0
 * @Description: 设备指令
 */
@Data
public class DeviceCmd {

    /**
     * 机柜SN
     */
    @JsonProperty(value = "sn")
    private String cabinetSn;

    /**
     * 命令
     */
    @JsonProperty(value = "cmd")
    private int cmd;

    /**
     * 命令数据
     */
    @JsonProperty(value = "args")
    private List<Map<String, String>> args;

}
